package com.fenghongzhang.lib_jetpack.recyclerview

sealed class Item(val type: Int) {
    data class Type1(val text: String) : Item(TYPE_1)
    data class Type2(val text: String) : Item(TYPE_2)

    companion object {
        const val TYPE_1 = 0
        const val TYPE_2 = 1
    }
}
